﻿using Abp.Application.Services;
using Paas.App.Interface.Documents.Messages;
using Paas.Core.Const.Enums.Common;
using Microsoft.AspNetCore.Http;

namespace Paas.App.Interface.Documents
{
    public interface IDocumentAppService : IApplicationService
    {
        SearchDocumentViewOutput SearchDocumentView(SearchDocumentViewInput input);

        SearchDocumentByFolderOutput SearchDocumentByFolder(SearchDocumentByFolderInput input);

        UploadDocumentOutput UploadDocument(EnumFileType fileType, int folderId, IFormFile file);

        DownloadDocumentOutput DownloadDocument(DownloadDocumentInput input);

        DeleteDocumentOutput DeleteDocument(DeleteDocumentInput input);

        SearchDocumentFolderOutput SearchDocumentFolder(SearchDocumentFolderInput input);

        SaveDocumentFolderOutput SaveDocumentFolder(SaveDocumentFolderInput input);

        DeleteDocumentFolderOutput DeleteDocumentFolder(DeleteDocumentFolderInput input);
    }
}

